<template>
  <view class="container">
    <uni-section title="血氧" type="line" decoration-color="#d81e06">
      <uni-card type="card" is-shadow title="基础卡片" extra="额外信息">
        <text class="uni-body">血氧</text>
      </uni-card>
    </uni-section>
    <uni-section title="心率" type="line" decoration-color="#000">
      <uni-card type="card" is-shadow title="基础卡片" extra="额外信息">
        <text class="uni-body">心率</text>
      </uni-card>
    </uni-section>
    <uni-section title="血压" type="line" decoration-color="#f7d50d">
      <uni-card type="card" is-shadow title="基础卡片" extra="额外信息">
        <text class="uni-body">血压</text>
      </uni-card>
    </uni-section>
    <uni-section title="肺活量" type="line" decoration-color="#1df92f">
      <uni-card type="card" is-shadow title="基础卡片" extra="额外信息">
        <text class="uni-body">肺活量</text>
      </uni-card>
    </uni-section>
    <button @click="startExaminations">开始检测</button>
  </view>
</template>

<script>
  import UniCard from "../uni_modules/uni-card/components/uni-card/uni-card.vue";
  import UniSection from "../components/uni-section/uni-section.vue";

  export default {
    components: {UniSection, UniCard},
    methods:{
      startExaminations(){
        this.$tab.navigateTo(
          '/pages/examinations/index'
        )
      },
    },
    onLoad: function() {

    }
  }
</script>

<style lang="scss">
.container{
  padding-top: 100rpx;
}
</style>
